.class final Lcom/a0soft/gphone/app2sd/main/o;
.super Landroid/content/BroadcastReceiver;
.source "AppIconWnd.java"


# instance fields
.field final synthetic a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;


# direct methods
.method constructor <init>(Lcom/a0soft/gphone/app2sd/main/AppIconWnd;)V
    .locals 0
    .parameter

    .prologue
    .line 547
    iput-object p1, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 4
    .parameter
    .parameter

    .prologue
    const/4 v3, 0x0

    .line 550
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    .line 555
    invoke-static {}, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 556
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    invoke-static {v0}, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->b(Lcom/a0soft/gphone/app2sd/main/AppIconWnd;)Lcom/a0soft/gphone/app2sd/main/t;

    move-result-object v0

    invoke-virtual {v0}, Lcom/a0soft/gphone/app2sd/main/t;->a()V

    .line 558
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    const v1, 0x7f05002e

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 560
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    invoke-static {v0}, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->c(Lcom/a0soft/gphone/app2sd/main/AppIconWnd;)Landroid/os/Handler;

    move-result-object v0

    const/16 v1, 0x68

    const-wide/16 v2, 0x3c

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    .line 581
    :cond_0
    :goto_0
    return-void

    .line 564
    :cond_1
    const-string v1, "com.a0soft.gphone.app2sd.AppWndRefresh"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 565
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    invoke-static {v1}, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->d(Lcom/a0soft/gphone/app2sd/main/AppIconWnd;)Lcom/a0soft/gphone/app2sd/a/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/a0soft/gphone/app2sd/a/a;->a()V

    .line 568
    :cond_2
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    iget-object v1, v1, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->d:Landroid/widget/GridView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 570
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    invoke-static {v1}, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->a(Lcom/a0soft/gphone/app2sd/main/AppIconWnd;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 573
    const-string v1, "com.a0soft.gphone.app2sd.PkgChanged"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 574
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    const v1, 0x7f050018

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 580
    :cond_3
    :goto_1
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    invoke-static {v0}, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->f(Lcom/a0soft/gphone/app2sd/main/AppIconWnd;)V

    goto :goto_0

    .line 575
    :cond_4
    const-string v1, "com.a0soft.gphone.app2sd.AppLocationChanged"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 576
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    const v1, 0x7f050019

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_1

    .line 577
    :cond_5
    const-string v1, "com.a0soft.gphone.app2sd.AppWndRefresh"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 578
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/o;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    const v1, 0x7f05001a

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_1
.end method
